package org.afs.gescol.edt.api.util;

/**
 * For application messages keys.
 * @author Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public final class MessageKeyUtil {

    private MessageKeyUtil() {
    }

    private final static MessageKeyUtil instance = new MessageKeyUtil();

    /** Error message key when null is provided for time slot id. */
    public final static String ERROR_NULL_TIME_SLOT_ID = "error.null.time.slot.id";

    /** Error message key when null is provided for time slot criteria. */
    public final static String ERROR_NULL_TIME_SLOT_CRITERIA = "error.null.time.slot.criteria";

    /** Error message key when more criteria are required. */
    public final static String ERROR_TIME_SLOT_MORE_CRITERIA = "error.time.slot.more.criteria";

    /** Error message key when a time slot does not exists */
    public final static String ERROR_TIME_SLOT_NON_EXISTENT = "error.time.slot.non.existent";

    /** Error message key when a timestable computing fonction input data is null. */
    public final static String ERROR_NULL_COMPTING_INPUT_DATA = "error.null.compting.input.data";

    /** Error message key when a timestable computing fonction input data is incoherent. */
    public final static String ERROR_INCOHERENT_COMPTING_INPUT_DATA = "error.incoherent.compting.input.data";

    /** Error message key when a timestable computing fonction returns no solution. */
    public final static String ERROR_NO_SOLUTION_FOUND_COMPTING = "error.no.solution.found.compting";

    /** Error message key when any current period is provided. */
    public final static String ERROR_TIME_TABLE_NO_CURRENT_PERIOD = "error.time.table.no.current.period";

    /** Error message key when any hourly is provided. */
    public final static String ERROR_TIME_TABLE_NO_HOURLY = "error.time.table.no.hourly";

    public final static MessageKeyUtil getInstance() {
        return instance;
    }
}
